/*
 * Copyright (C) 2017 yixun All Rights Reserved.
 * 
 * Department.java
 */
package com.yixun.qfbao.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;

import lombok.Data;

@Data
public class ModelInfo implements Serializable{
    /**
	 * 序列化UID
	 */
	private static final long serialVersionUID = 1L;
	
	private long id;
	
	// 关联ID
	private Long relId;
	
	// 模板ID
	private Long modelId;
	
	// 模板类型。为了通用，可以参考modelTypeEnum
	private String modelType;
	
	// 展示类型
	private String displayType;
	
	// 模板名称
	private String modelName;
	
	// 模板值
	private String modelValue;
	
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	
	private String createUserId;
	
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	
	private String updateUserId;
	
	private int delFlag;
	
	private List<Long> relIdList;
}
